package com.sjp.demo.dubbo.server.controller;

import com.sjp.demo.dubbo.api.response.BaseResponse;
import com.sjp.demo.dubbo.api.utils.ResponseUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("hello")
    public BaseResponse hello() {
        return ResponseUtils.success();
    }
}
